/**
 * API统一入口
 */

import userApi from './user'
import authorApi from './author'
import bookApi from './book'
import categoryApi from './category'
import publisherApi from './publisher'
import borrowApi from './borrow'
import logApi from './log'
import statsApi from './stats'

export {
  userApi,
  authorApi,
  bookApi,
  categoryApi,
  publisherApi,
  borrowApi,
  logApi,
  statsApi
}

export default {
  user: userApi,
  author: authorApi,
  book: bookApi,
  category: categoryApi,
  publisher: publisherApi,
  borrow: borrowApi,
  log: logApi,
  stats: statsApi
}
